<?php

namespace App\Api\Services;


use App\Polling\Repositories\IndexRepository;

class ApiService {
    protected $repository;

    public function __construct() {
        $this->repository = new IndexRepository();
    }

    /**
     * Corresponding method for IndexController::index()
     */
    public function index() {
        $this->repository->index();
        return null;
    }
}
